package com.chnnelsoft.service.impl;

import com.chnnelsoft.mapper.UMapper;
import com.chnnelsoft.mapper.UserMapper;
import com.chnnelsoft.pojo.User;
import com.chnnelsoft.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Autowired
    UMapper uMapper;
    @Override
    public User queryByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
